package com.dongdongshop.service;

import com.dongdongshop.data.PageBean;
import com.dongdongshop.pojo.TbContent;
import com.dongdongshop.pojo.TbContentCategory;

import java.util.List;

public interface ContentService {
    List<TbContentCategory> getContentCateGory(String name);

    void insertContent(TbContentCategory contentCategory);

    TbContentCategory getContent(Long id);

    void updateContent(TbContentCategory tbContentCategory);

    void deleteContent(Long[] id);

    PageBean<TbContent> getContentList(Integer pageNumber, Integer pageSize);

    List<TbContentCategory> selectContentList();

    void insertContents(TbContent content);

    TbContent getContentById(Long id);

    void updateContents(TbContent content);

    List<TbContent> getBannerImg(Long categoryId,Integer pageSize,Integer end);
}
